package server.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import server.business.pojo.ProcessEntity;

@Mapper
public interface ProcessEntityMapper extends BaseMapper<ProcessEntity> {


    @Select("insert into t_process(id,name,age,phone,address)")
    public boolean saveprocess(@Param("bussnessname") String bussnessname,
                               @Param("inputmsg") String inputmsg,
                               @Param("outputmsg") String outputmsg,
                               @Param("frontpath") String frontpath,
                               @Param("classpath") String classpath,
                               @Param("method") String method);

//    @Select("select * from t_process where id = #{id,jdbcType=int}")
//    public Process getprocess(@Param("id") int id);
}
